package com.linksky.entity;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.Id;

@Entity
public class Comment implements Serializable{

	@Id
    private long commentId;
    private String content;
    private long time;
    private User user;
    private Reply beReplied;

    public long getCommentId() {
        return commentId;
    }

    public void setCommentId(long commentId) {
        this.commentId = commentId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Reply getBeReplied() {
        return beReplied;
    }

    public void setBeReplied(Reply beReplied) {
        this.beReplied = beReplied;
    }

}
